package com.sgcc.fj.pmos.common.http;

import com.zhy.http.okhttp.callback.Callback;

import java.io.File;
import java.util.Map;

public interface HttpRequestInterf {

    void requestWithDiffHeaders(Map<String, Object> params, String url, Callback callback, Map<String, String> headers);

    void request(Map<String, Object> params, String url, Callback callback);

    void requestFile(Map<String, String> params, String keynames, String url, File files, Callback callback);

    void requestGet(Map<String, String> params, String url, Callback callback);

    void cancel();
}
